package game.components;

import sheep.game.Sprite;
import sheep.graphics.Image;
import sheep.math.Vector2;
/**
 * 
 * @author Marius Haugen
 *	The padle class that contains a Sprite object
 */
public class Padle extends Component{
	
	private static Sprite padleSprite;
	private int size;
	
	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public Padle(Image image, Vector2 pos, int size){
		super(image);
		this.setPosition(pos);
		this.size = size; 
		
	}
	
	public static Sprite getPadleSprite(){
		return padleSprite;
	}
	
	public void setPadleSprite(Sprite sprite){
		padleSprite = sprite;
	}

	

}
